package com.ruoyi.onlyOffice.service;

import com.ruoyi.onlyOffice.domain.CheckFormInfo;
import com.ruoyi.onlyOffice.domain.FileUpload;

import java.util.List;

public interface FileUploadService {


    List<FileUpload> list(String taskId);


    void saveFile(FileUpload upload);


    List<FileUpload> queryFileByName(String name);

    void updateFile(List<FileUpload> fileUploadList,String taskId);
    void updateFileInfo(List<FileUpload> fileUploadList,String taskId, String fieldKey);

    List<FileUpload> queryFileList(String taskId,Long userId,String fieldKey);

    List<CheckFormInfo> selectFormList(String taskId);

    void saveForm(CheckFormInfo formInfo);
}
